/*
 * @Author: xiaosihan 
 * @Date: 2024-08-19 19:52:56 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-08-19 21:41:27
 */


import { observable, configure } from "mobx";
configure({ enforceActions: "never" });

const commentModalStore = observable({

    modelCommentId: "" as string | undefined,
    setModelCommentId(modelCommentId?: string) {
        this.modelCommentId = modelCommentId;
    },

    replyUserId: "" as string | undefined,
    setReplyUserId(replyUserId?: string) {
        this.replyUserId = replyUserId;
    },

    placeholder: "请输入评论",
    setPlaceholder(placeholder: string) {
        this.placeholder = placeholder;
    },

    show: false,
    setShow(show: boolean) {
        this.show = show;
    },

    modelIndex: undefined as number | undefined,
    setModelIndex(modelIndex?: number) {
        this.modelIndex = modelIndex;
    },

    position: { x: 0, y: 0 },
    setPosition(position: { x: number, y: number }) {
        this.position = position;
    },

    vPosition: { x: 0, y: 0, z: 0 },
    setVPosition(vPosition: { x: number, y: number, z: number }) {
        this.vPosition = vPosition;
    },

    //头像


});
export default commentModalStore;